// JavaScript Document


function table(){
	clearRepass();
	function clearRepass(){
		$("body").undelegate(".pass input","focus");
		$("body").delegate(".pass input","focus",function(){
		  	$(".repass").find("input").val("");
		});
	}
}

// 准备调整到哪里去呢
var refreshImg = function(refimg){
	var refimage = refimg.find('img');
	var refhide = refimg.find('input[type=hidden]');
	var callref=function(){
		var src=refimage.attr('src');
		var speed = +new Date;
		src=(src+'').replace(/seed=(\w+)/,function(){return 'seed='+speed});
		refimage.attr('src',src);
		refimg.find('input').not('[type=hidden]').val('');
		refhide.val(speed);
		return false;
	};
	refimg.find('.refimg').click(callref);
	refimage.click(callref);
 }
